package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Players;

import java.util.List;

public interface PlayersMapper {
    List<Players> getList(@Param("pname") String pname,@Param("cid") Integer cid ,@Param("pageNo") Integer pageNo);

    int add(Players players);

    int del(Integer pid);

    int update(Players players);

    Players get(@Param("pid") Integer pid);

}
